Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 3 - Page Formatting and Dialog Box Customization / Page Formatting and Dialog Box Customization Reference
Constants and Data Types for Format Collection Items


Scaling Information

The collection item ID for scaling information is defined in the scaling information enumeration:

enum { gxScalingTag = 'scal' };     
QuickDraw GX stores scaling information in the gxScalingInfo structure:

struct gxScalingInfo{
   Fixed    horizontalScaleFactor;  
   Fixed    verticalScaleFactor;    
   short    minScaling;             
   short    maxScaling;             
};
Field Description
horizontalScaleFactor
The current horizontal scaling factor.
verticalScaleFactor
The current vertical scaling factor.
minScaling
The minimum current scaling factor.
maxScaling
The maximum current scaling factor.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help